import { callAPI } from './config';

// 管理员/商家获取所有客户照片
export const getAdminPhotos = () => {
  return callAPI('admin/photos');
};

// 更新照片状态和备注
export const updatePhoto = (photoId, status, remark) => {
  return callAPI(`admin/photo/${photoId}`, 'PUT', { status, remark });
};

// 获取所有客户列表
export const getAllCustomers = () => {
  return callAPI('admin/customers');
};

// 获取特定客户信息
export const getCustomerDetail = (customerId) => {
  return callAPI(`admin/customer/${customerId}`);
}; 